package com.ht.medicaltreatment.view

import android.content.Context
import com.ht.medicaltreatment.R
import kotlinx.android.synthetic.main.dialog_caiyang_layout.*

class CaiYangDialog(context: Context):BaseDialog(context,310f) {
    override fun getLayoutRes() = R.layout.dialog_caiyang_layout

    fun show(onContinue:()->Unit) {
        super.show()
        btnContinue.setOnClickListener {
            dismiss()
            onContinue()
        }

        btnScan.setOnClickListener {
            dismiss()
        }
    }
}